<?php echo $this->fetch('inc/header.html'); ?> 
<script type="text/javascript">
	var order_id = <?php 
$k = array (
  'name' => 'intval',
  'value' => $this->_var['order_info']['id'],
);
echo $k['name']($k['value']);
?>;
</script>
<div id="bdw" class="bdw">
	<div id="bd" class="cf">
		<div id="deal-buy">
			<div id="content">	
			<div class="box" id="login">	
				<form name="cart_form" id="cart_form" action="<?php if ($this->_var['order_info']): ?><?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'cart#order_done',
);
echo $k['name']($k['value']);
?><?php else: ?><?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'cart#done',
);
echo $k['name']($k['value']);
?><?php endif; ?>" method="post" />			
				<div class="box">
					<div class="box-top"></div>
					<div class="box-content">
						<div class="head">
							<h2><?php echo $this->_var['page_title']; ?></h2>							
						</div>
						<div class="sect">
							<div id="cart_list">
							<?php echo $this->fetch('inc/cart/cart_check_list.html'); ?> 	
							</div>
							<?php if ($this->_var['is_delivery']): ?>
									
							<script type="text/javascript" src="<?php echo $this->_var['APP_ROOT']; ?>/app/Runtime/region.js"></script>					
							<script type="text/javascript">
								load_consignee(<?php echo $this->_var['consignee_id']; ?>);
							</script>
							<div id="cart_consignee"></div>
							
							<div id="cart_delivery"></div>
							<?php else: ?>							
							<script type="text/javascript">
								$(document).ready(function(){count_buy_total();});
							</script>
							<?php endif; ?>
							<div id="cart_message">
							<?php echo $this->fetch('inc/cart/cart_message.html'); ?>
							</div>
							<div id="cart_payment">
							<?php echo $this->fetch('inc/cart/cart_payment.html'); ?>
							</div>
							<div id="cart_total">

							</div>
							
							<div id="cart_submit">
								<div class="order-check-form ">
									<p class="check-act">
										<input type="hidden" value="<?php 
$k = array (
  'name' => 'intval',
  'value' => $this->_var['order_info']['id'],
);
echo $k['name']($k['value']);
?>" name="id" />
										<input type="button" class="formbutton" value="<?php echo $this->_var['LANG']['CONFIRM_ORDER_AND_PAY']; ?>" id="order_done">
										<a style="margin-left: 1em;" href="<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'cart',
);
echo $k['name']($k['value']);
?>"><?php echo $this->_var['LANG']['BACK_MODIFY_CART']; ?></a>
									</p>
								</div>
							</div><!--cart_submit-->							
						</div>
					</div>
					<div class="box-bottom"></div>
				</div><!--end box-->
				</form>
			</div>
			</div>
			<?php echo $this->fetch('inc/side.html'); ?> 
	</div>
	<!-- bd end -->
</div>
<?php echo $this->fetch('inc/footer.html'); ?>